﻿using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.Modularity;

namespace Leo.Awesome.DictionaryManagement.MongoDB;

[DependsOn(
    typeof(DictionaryManagementDomainModule)
    )]
public class DictionaryManagementMongoDbModule : AbpModule
{
    public override void ConfigureServices(ServiceConfigurationContext context)
    {
        context.Services.AddMongoDbContext<DictionaryManagementMongoDbContext>(options =>
        {
            options.AddDefaultRepositories();
        });        
    }
}
